<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>销售统计</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" type="text/css" href="css/tongji.css">
	<script type="text/javascript">
		function change_year(yearvalue){
			window.location.href="change_year.do?year="+yearvalue;
		}
	
	</script>

  </head>
  
  <body>
    <div class="div_all">
		<div class="div_2">
			<div class="choose_year_div">
				<span>选择年份:</span><select class="choose_year_select" onchange="change_year(this.value)">
					<option value="2016">2016年</option>
					<option value="2017">2017年</option>
					<option value="2018">2018年</option>
					<option value="2019">2019年</option>
					<option value="2020">2020年</option>
					
				</select>
			</div>
			<div class="show_tongji_div">
				<div class="value_class">
					<c:forEach items="${price}" var="p">
						<span>￥${p}</span>
					</c:forEach>
				</div>
				<div class="tongji_class">
				
					<c:forEach items="${price}" var="p">
						<div style="height:${p/50+1}px"></div>
						
					</c:forEach>
				</div>
				
				<div class="month_class">
					<span>1月</span><span>2月</span>
					<span>3月</span><span>4月</span>
					<span>5月</span><span>6月</span>
					<span>7月</span><span>8月</span>
					<span>9月</span><span>10月</span>
					<span>11月</span><span>12月</span>
				</div>
			</div>
		
		</div>
	</div>
  </body>
</html>
